package rezetkaPages;

import org.openqa.selenium.WebDriver;

/**
 * Created by IIGalytska on 10.04.14.
 */
public class NavigationPage extends BasePage {
    public NavigationPage(WebDriver driver) {
        super(driver);
    }


    public String checkPageUrl(){
        //return driver.findElement(By.xpath("/html/body/div/div[3]/div/div[2]/div/div/a[2]")).getText();
        return driver.getCurrentUrl();
    }


}
